package com.qianyu.project.mapper;

import com.qianyu.project.entity.Dept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Repository
public interface DeptMapper extends BaseMapper<Dept> {

    @Select("select id deptid ,dept_name deptname ,superiorid superiorid  from dept")
    List<Dept> listaaaaa();
}
